package edu.scau.divineplace.entity.vo.commentscore;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 对CommentScore进行分组查询时的结果对象，存储评分及该评分对应的打分人数
 * </p>
 *
 * @author x1aolone
 * @since 2020-12-06
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel("CommentScoreGroupVO")
public class CommentScoreGroupVO{

    @ApiModelProperty("评分")
    private Integer score;

    @ApiModelProperty("该评分的打分人数")
    private Long num;

}
